<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<table border="1">
    {% for i in pagex %}
    姓名:{{ i.stu_name }}
    性别:{{ i.sex }}
    年级:{{ i.stu_class }}
    专业:{{ i.specialized }}
    头像地址:{{ i.img_path }}
    <br>
{% endfor %}
   <table border="1">
   <tr>
      <td>序号</td>
      <td>姓名</td>
      <td> 性别</td>
      <td>年级</td>
      <td>专业</td>
      <td>操作</td>
   </tr>
   <tr>
      <td>1</td>
      <td>张三</td>
      <td>男</td>
      <td>2年级</td>
      <td>计算机</td>
      <td>
         <a href="#">查看</a>
         <a href="#">删除</a>
      </td>
   </tr>
   <tr>
      <td>2</td>
      <td>李四</td>
      <td>女</td>
      <td>2年级</td>
      <td>数学</td>
      <td>
         <a href="#">查看</a>
         <a href="#">删除</a>
      </td>
   </tr>
   <tr>
      <td>3</td>
      <td>王五</td>
      <td>男</td>
      <td>3年级</td>
      <td>历史</td>
      <td>
         <a href="#">查看</a>
         <a href="#">删除</a>
      </td>
   </tr>
   <th>
      <a href="#">1</a><a href="#">2</a><a href="#">3</a>
   </th>
</table>
</table>
</body>
</html>